package com.hemerasolutions.v2trainer.component.interfaces.table;

import java.util.List;

import javax.faces.event.ActionEvent;

import org.primefaces.model.TreeNode;

import com.hemerasolutions.v2trainer.component.interfaces.BaseComponentInterface;
import com.hemerasolutions.v2trainer.component.interfaces.list.StepListCompInterface;
import com.hemerasolutions.v2trainer.model.training.TrainingStep;
import com.hemerasolutions.v2trainer.model.training.statistic.StatisticUnit;

public interface StatisticTableCompInterface extends BaseComponentInterface {

	public abstract void setFullArbritaryUnits(List<StatisticUnit> fullArbritaryUnits);

	public abstract List<StatisticUnit> getFullArbritaryUnits();

	public abstract void setRootNode(TreeNode rootNode);

	public abstract TreeNode getRootNode();

	public abstract void setTrainingStep(TrainingStep trainingStep);

	public abstract TrainingStep getTrainingStep();

	public abstract void tableToTree();

	public abstract void treeToTable();

	public abstract void calcStatistics();

	public abstract void refresh();

	void toStatisticPopUp(ActionEvent ev);

	StepListCompInterface getParentTrainingList();

	void setParentTrainingList(StepListCompInterface parentTrainingList);

}
